]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agocalendar: Ensure clicked calendar item retains key focus
Tanner Doshier [Tue, 30 Apr 2013 22:32:43 +0000 (17:32 -0500)]
calendar: Ensure clicked calendar item retains key focus

The date actors get destroyed and recreated on every date change which drops
key focus for the selected date. Restore key focus in such a case, but only
when the selected date was actually clicked. Whenever the next/prev month
buttons code is used (for scrolling, mouse click, or keyboard click), have
the corresponding button grab focus. Changing months currently causes the
calendar to update twice as the eventSource gets changed, so key focus gets
lost if it is on a date when the month changes.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agotheme: Add focus styles for the calendar menu
Tanner Doshier [Sat, 16 Mar 2013 21:33:59 +0000 (16:33 -0500)]
theme: Add focus styles for the calendar menu

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agodateMenu: Don't override accessible_role inherited from PanelMenu.Button
Tanner Doshier [Sat, 16 Mar 2013 21:34:58 +0000 (16:34 -0500)]
dateMenu: Don't override accessible_role inherited from PanelMenu.Button

The menu is keyboard navigable now, so allow it to be advertised as such.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agocalendar, dateMenu: Allow focus on menu items
Tanner Doshier [Thu, 14 Mar 2013 15:30:38 +0000 (10:30 -0500)]
calendar, dateMenu: Allow focus on menu items

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agogdm: Fix regression where domain login hint not shown
Stef Walter [Fri, 19 Apr 2013 07:07:04 +0000 (09:07 +0200)]
gdm: Fix regression where domain login hint not shown

Also only keep around realmd while we're actually using it, allow it
to quit if no other clients are active.

https://bugzilla.gnome.org/show_bug.cgi?id=698200

13 years agost-theme-node: Add a to_string function for debugging purposes
Jasper St. Pierre [Fri, 5 Apr 2013 01:43:42 +0000 (21:43 -0400)]
st-theme-node: Add a to_string function for debugging purposes

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-widget: Cache two paint states
Jasper St. Pierre [Fri, 5 Apr 2013 03:06:29 +0000 (23:06 -0400)]
st-widget: Cache two paint states

In most cases, we'll transition between two states on hover / focus.
Instead of recalculating and repainting our resources on state change,
simply cache the last state when we transition.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agoRevert "screenshield: Remove box-shadow"
Jasper St. Pierre [Sat, 20 Apr 2013 14:25:44 +0000 (10:25 -0400)]
Revert "screenshield: Remove box-shadow"

This reverts commit 98e74dfd38bd44154e002000ed46be4ed622173d.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node: Move some allocation-independent textures back to the theme node
Jasper St. Pierre [Fri, 5 Apr 2013 01:22:34 +0000 (21:22 -0400)]
st-theme-node: Move some allocation-independent textures back to the theme node

The background image, background image shadow and border image are
allocation-indepedent, so we can keep these in the node. Given that these are
are likely cached in the StTextureCache, the slight increase in code complexity
may not be worth caching these textures and materials -- we might be better off
just computing when we need to paint.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost: Move the theme node drawing state to StWidget
Jasper St. Pierre [Fri, 5 Apr 2013 00:29:59 +0000 (20:29 -0400)]
st: Move the theme node drawing state to StWidget

This ensures that two widgets sharing the same theme node won't trample
on each other's prerendered materials if the actors are of different
sizes. This also tries to be very careful to share as much as possible
during a transition.

This has the side effect that if a widget changes state a bunch of times,
we won't cache every state. Since we expect that state changes are
infrequent and that most cases we'll be able to use the texture cache
to do most of the heavy lifting, this cost is much more insignificant
than rendering a number of different actors with the same theme node
and different sizes.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node-drawing: Move most of the cached paint state to another struct
Jasper St. Pierre [Thu, 4 Apr 2013 23:47:28 +0000 (19:47 -0400)]
st-theme-node-drawing: Move most of the cached paint state to another struct

Since we now share theme nodes between, we shouldn't cache the paint state
across all nodes. As a first step towards putting this in the actor, split
out the state into another structure. Keep it in the theme node for now
so that we don't make too many changes in one commit.

It's possible that some of these pieces of drawing state could be shared
between theme nodes. For the sake of simplicity, assume that none of them
are shared or should be shared. A future commit could identify those that
could be shared and move them back into the theme node.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node-drawing: Depend less on the paint state in some helper functions
Jasper St. Pierre [Thu, 4 Apr 2013 23:09:02 +0000 (19:09 -0400)]
st-theme-node-drawing: Depend less on the paint state in some helper functions

We want to put the paint state in the actor rather than in the theme
node, as having two actors with different sizes but the same theme node
is now much less efficient.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agoctrlAltTab: Use a symbolic icon for desktop windows
Matthias Clasen [Thu, 18 Apr 2013 04:20:45 +0000 (00:20 -0400)]
ctrlAltTab: Use a symbolic icon for desktop windows

The nautilus icon sticks out pretty badly among the symbolic
icons we use for other desktop components. This commit finds
windows of type DESKTOP, and uses the video-display-symbolic
icon for them.
https://bugzilla.gnome.org/show_bug.cgi?id=697914

13 years agost-icon: check if gicon is null before unref.
Alban Browaeys [Thu, 25 Apr 2013 16:25:12 +0000 (18:25 +0200)]
st-icon: check if gicon is null before unref.

Commit a6b49fe7d6c9bcd8a2be47a0b0b44cf9a53a45aa
introduced a check for equality of priv->gicon vs gicon
and unref then return early if so. But if both are null,
we should not unref gicon. Only return.

https://bugzilla.gnome.org/show_bug.cgi?id=698863

13 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 1 May 2013 18:34:15 +0000 (20:34 +0200)]
Updated Slovenian translation

13 years agoBump version to 3.9.1
Florian Müllner [Tue, 30 Apr 2013 21:58:35 +0000 (23:58 +0200)]
Bump version to 3.9.1

Update NEWS.

13 years agoOnly recognize common url schemes in notification messages
Monica Chelliah [Sun, 14 Apr 2013 20:15:04 +0000 (16:15 -0400)]
Only recognize common url schemes in notification messages

Before the fix, the message tray highlighted all urls containing "://", even
invalid ones. This change fixes this by have the message tray highlight only
the urls with http, https, ftp schemes.

Credit goes to: Phuong Vu, Liye Fu, Monica Chelliah, Owen Taylor

https://bugzilla.gnome.org/show_bug.cgi?id=661225

13 years agoRemove LayoutManager::fullscreen-changed
Owen W. Taylor [Mon, 18 Mar 2013 19:02:05 +0000 (15:02 -0400)]
Remove LayoutManager::fullscreen-changed

Since we now have global.screen::in-fullscreen-changed, remove the
duplicate signal. To prevent ordering problems in connecting to
this signal, make inFullscreen a property-function of a new Monitor
object rather than a data property we tack on to a Rectangle object.

https://bugzilla.gnome.org/show_bug.cgi?id=649748

13 years agoStIcon: use g_signal_connect_object() for safety
Giovanni Campagna [Wed, 27 Mar 2013 16:54:41 +0000 (17:54 +0100)]
StIcon: use g_signal_connect_object() for safety

Prevent a crash in case an icon is destroyed before the texture
finishes loading, and something else is keeping the texture alive
for any reason.

https://bugzilla.gnome.org/show_bug.cgi?id=696720

13 years agoUpdated Lithuanian translation
Žygimantas Beručka [Sun, 28 Apr 2013 10:36:38 +0000 (13:36 +0300)]
Updated Lithuanian translation

13 years agoconfigure: Bump NetworkManager requirement
Florian Müllner [Sat, 27 Apr 2013 20:45:03 +0000 (22:45 +0200)]
configure: Bump NetworkManager requirement

Since commit 871c28aeeb97b30e, NMGtk is no longer optional, so
bump the requirement accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=699075

13 years agoWorkspacesView: set the actual geometry when creating workspaces
Giovanni Campagna [Sat, 27 Apr 2013 12:11:14 +0000 (14:11 +0200)]
WorkspacesView: set the actual geometry when creating workspaces

If we created a workspace after showing the view, we would never
set the geometry on it, which would cause an exception in the
window layout code and leave the DND state tracking in an undefined
state.

https://bugzilla.gnome.org/show_bug.cgi?id=699029

13 years agoUpdated Czech translation
Marek Černocký [Fri, 26 Apr 2013 23:55:09 +0000 (01:55 +0200)]
Updated Czech translation

13 years agoUpdated Czech translation
Marek Černocký [Fri, 26 Apr 2013 17:19:39 +0000 (19:19 +0200)]
Updated Czech translation

13 years agonetwork: Remove some genericism in the wireless code
Jasper St. Pierre [Thu, 25 Apr 2013 21:20:57 +0000 (17:20 -0400)]
network: Remove some genericism in the wireless code

This was presumably originally used in multiple places, but it's
not anymore, so un-generify the code here.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Rename "apObj" to "network"
Jasper St. Pierre [Fri, 26 Apr 2013 01:18:20 +0000 (21:18 -0400)]
network: Rename "apObj" to "network"

We put these "access point objects" in "this._networks" and
"this._activeNetwork", so let's rename it. This also makes
the fact that each "access point object" can contain multiple
access points a tiny bit less confusing.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Remove explicit autoconnection code
Jasper St. Pierre [Thu, 25 Apr 2013 20:48:27 +0000 (16:48 -0400)]
network: Remove explicit autoconnection code

NM is now a lot smarter about dealing with automatic connections, so just
create an empty connection and pass it to it. The only places where NM
requires connection settings is where we require explicit setup: Bluetooth
DUN, WPA-Enterprise and WWAN/VPN. These cases are already handled by
gnome-control-center, where complex configuration is handled, so remove
the automatic connection management for now and just let NM handle it.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Use activeApChanged to get the initial active network
Jasper St. Pierre [Fri, 26 Apr 2013 01:04:32 +0000 (21:04 -0400)]
network: Use activeApChanged to get the initial active network

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Fix some splice mishaps
Jasper St. Pierre [Fri, 26 Apr 2013 05:34:50 +0000 (01:34 -0400)]
network: Fix some splice mishaps

Calling splice() without a second argument removes all of the elements
after the provided index, not just one.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Deduplicate some similar code
Jasper St. Pierre [Thu, 25 Apr 2013 20:24:14 +0000 (16:24 -0400)]
network: Deduplicate some similar code

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Remove some dead code
Jasper St. Pierre [Fri, 26 Apr 2013 01:16:33 +0000 (21:16 -0400)]
network: Remove some dead code

We cannot possibly reach createActiveConnectionItem unless we have
an active network, so the plain unreative menu item cannot ever
be created.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Remove UNKNOWN security type
Jasper St. Pierre [Thu, 25 Apr 2013 20:38:05 +0000 (16:38 -0400)]
network: Remove UNKNOWN security type

It's unused.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Properly disconnect from the state-changed signal
Jasper St. Pierre [Fri, 26 Apr 2013 04:25:14 +0000 (00:25 -0400)]
network: Properly disconnect from the state-changed signal

The destroy signal never gets emitted, so we need to properly
disconnect manually when we destroy the wrapper.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Remove some unused helpers
Jasper St. Pierre [Thu, 25 Apr 2013 19:55:59 +0000 (15:55 -0400)]
network: Remove some unused helpers

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Require NMGtk
Jasper St. Pierre [Thu, 25 Apr 2013 18:00:11 +0000 (14:00 -0400)]
network: Require NMGtk

Enough time has passed that we can safely depend on NMGtk in the new
network implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agoPopupMenuManager: Close active menu when another one opens
Florian Müllner [Fri, 26 Apr 2013 15:06:22 +0000 (17:06 +0200)]
PopupMenuManager: Close active menu when another one opens

We already do this when navigating between menus via mouse or
keynav, but miss cases where a menu is opened by other means,
for instance via a keyboard shortcut.

https://bugzilla.gnome.org/show_bug.cgi?id=686756

13 years agopanel: Change openAppMenu() to a toggle action
Florian Müllner [Fri, 26 Apr 2013 14:14:55 +0000 (16:14 +0200)]
panel: Change openAppMenu() to a toggle action

It makes sense to allow closing the app menu with the same shortcut
that is used to open it, so make it a toggle action and allow it
TOPBAR_POPUP mode.

https://bugzilla.gnome.org/show_bug.cgi?id=686756

13 years agopanel: Add keybinding mode for top bar popups and use it
Florian Müllner [Fri, 26 Apr 2013 13:48:36 +0000 (15:48 +0200)]
panel: Add keybinding mode for top bar popups and use it

Allow some keybindings to still work while a top bar menu is open
by assigning it a keybinding mode.

https://bugzilla.gnome.org/show_bug.cgi?id=698938

13 years agopopupMenu: Allow setting grabHelper params for PopupMenuManager
Florian Müllner [Fri, 26 Apr 2013 13:46:49 +0000 (15:46 +0200)]
popupMenu: Allow setting grabHelper params for PopupMenuManager

Currently all keybindings are disabled while some popup menu is open.
However some keybindings may still be useful in some cases, so expose
GrabHelper's modal params parameter to allow specifying a keybinding
mode for particular menus.

https://bugzilla.gnome.org/show_bug.cgi?id=698938

13 years agoshellDBus: Fix Eval() return value when disabled
Florian Müllner [Fri, 26 Apr 2013 13:17:11 +0000 (15:17 +0200)]
shellDBus: Fix Eval() return value when disabled

Eval() is expected to return a boolean success value and a string result.
However when the function is disabled (via the development-tools setting),
we return null for the latter which is not a valid string value.
Return an empty string instead.

https://bugzilla.gnome.org/show_bug.cgi?id=698959

13 years agobackgroundMenu: Ignore releases when using long-press
Jasper St. Pierre [Tue, 23 Apr 2013 20:39:29 +0000 (16:39 -0400)]
backgroundMenu: Ignore releases when using long-press

Otherwise, a release from the long-press will be seen as a
button event that should close the menu.

https://bugzilla.gnome.org/show_bug.cgi?id=697203

13 years agolayout: Correct hot corner barriers in RTL layouts
Jasper St. Pierre [Sat, 20 Apr 2013 15:48:28 +0000 (11:48 -0400)]
layout: Correct hot corner barriers in RTL layouts

https://bugzilla.gnome.org/show_bug.cgi?id=698884

13 years agodateMenu: append .desktop to evolution strings
Tim Lunn [Fri, 26 Apr 2013 06:35:22 +0000 (16:35 +1000)]
dateMenu: append .desktop to evolution strings

Since that is what the actual app_id's are.

13 years agosession: Remove the clock from initial setup mode
Michael Wood [Thu, 25 Apr 2013 10:51:06 +0000 (11:51 +0100)]
session: Remove the clock from initial setup mode

If you're in the initial setup mode you're not likely to have the
correct time displayed.

13 years agoUpdated Greek translation
Dimitris Spingos [Thu, 25 Apr 2013 05:12:32 +0000 (08:12 +0300)]
Updated Greek translation

13 years agoUpdated Malayalam Translation
Anish A [Thu, 25 Apr 2013 02:56:22 +0000 (08:26 +0530)]
Updated Malayalam Translation

13 years agoremoteSearch: support serialized GIcons
Cosimo Cecchi [Wed, 24 Apr 2013 16:05:22 +0000 (12:05 -0400)]
remoteSearch: support serialized GIcons

Since [1], GIO supports generic serialization and deserialization of a
GIcon into a GVariant. This is also implemented by GdkPixbuf and could be
used instead of our homegrown code for it.

This commit adds support to another 'icon' key in the metas dictionary
returned by applications for it. The previous 'gicon' and 'icon-data'
keys are still parsed and supported as before, but are now deprecated.

[1]
https://git.gnome.org/browse/glib/commit/?id=c16f914b40c749b938490a4e10a3c54ec1855c42

https://bugzilla.gnome.org/show_bug.cgi?id=698761

13 years agoKeyboard: clear currentSource after destruction
Giovanni Campagna [Wed, 24 Apr 2013 19:38:00 +0000 (21:38 +0200)]
Keyboard: clear currentSource after destruction

StLabel doesn't like that we set its properties after destructions,
and this would happen in currentInputSourceChanged() at the end,
when setting the ornament.

13 years agoworkspace: Sort windows when we calculate slots
Jasper St. Pierre [Wed, 24 Apr 2013 17:53:11 +0000 (13:53 -0400)]
workspace: Sort windows when we calculate slots

This ensures that windows don't change positions when we lay
them out again when expanding the workspace switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=698776

13 years agoForgot ia.po file
Gil Forcada [Wed, 24 Apr 2013 13:55:12 +0000 (15:55 +0200)]
Forgot ia.po file

13 years ago[l10n] Add Interlingua translation
Nik Kalach [Wed, 24 Apr 2013 13:53:43 +0000 (15:53 +0200)]
[l10n] Add Interlingua translation

13 years agolayout: Ensure that the hotCorners array is always indexable by monitor number
Jasper St. Pierre [Tue, 19 Mar 2013 19:50:16 +0000 (15:50 -0400)]
layout: Ensure that the hotCorners array is always indexable by monitor number

messageTray relies on indexing the hot corners array by monitor number,
so we should make this a guarantee.

https://bugzilla.gnome.org/show_bug.cgi?id=698513

13 years agomessageTray: Take modal grabs for the context menu and notification boxpointer
Jasper St. Pierre [Thu, 21 Mar 2013 19:29:16 +0000 (15:29 -0400)]
messageTray: Take modal grabs for the context menu and notification boxpointer

As the context menu and notification boxpointer can only appear if we already
take a modal grab, grabFocus will have problematic results if the focus does
somehow change.

https://bugzilla.gnome.org/show_bug.cgi?id=698483

13 years agopopupMenu: Fix a bad rebase
Jasper St. Pierre [Tue, 23 Apr 2013 20:33:07 +0000 (16:33 -0400)]
popupMenu: Fix a bad rebase

The wrong patch got pushed accidentally here

13 years agopopupMenu: Remove some now-unused code
Jasper St. Pierre [Sat, 20 Apr 2013 02:34:40 +0000 (22:34 -0400)]
popupMenu: Remove some now-unused code

We don't have any sections with separators, so don't bother
tracking them.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Add and use GtkMenuTracker to build the remote menu
Jasper St. Pierre [Sat, 20 Apr 2013 01:38:47 +0000 (21:38 -0400)]
popupMenu: Add and use GtkMenuTracker to build the remote menu

This simplifies the code required to build remote menus and
put all the items in the right place, and makes us share our
implementation with GTK+.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Create and insert menu items that don't have actions yet
Jasper St. Pierre [Sat, 20 Apr 2013 01:27:15 +0000 (21:27 -0400)]
popupMenu: Create and insert menu items that don't have actions yet

Instead of recreating the entire model, which can be expensive... but
keep them insensitive for now. This also matches what GTK+ does.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Always use a PopupMenuItem
Jasper St. Pierre [Sat, 20 Apr 2013 01:25:28 +0000 (21:25 -0400)]
popupMenu: Always use a PopupMenuItem

By this point, we'll know we'll always have a PopupMenuItem.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Use a checkmark for boolean items
Jasper St. Pierre [Sat, 20 Apr 2013 01:16:19 +0000 (21:16 -0400)]
popupMenu: Use a checkmark for boolean items

This matches GTK+'s styling, and it makes most boolean switches
look more natural, as a lot of booleans are not meant for hardware
switches.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Add a check ornament
Jasper St. Pierre [Sat, 20 Apr 2013 01:13:37 +0000 (21:13 -0400)]
popupMenu: Add a check ornament

This will be used to replace switches in the remote menu

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Use a unicode character for the ornament
Jasper St. Pierre [Sat, 20 Apr 2013 01:08:35 +0000 (21:08 -0400)]
popupMenu: Use a unicode character for the ornament

This makes it easy to replace the dot with another label in the future.
Change the allocation logic, as text layout is more complicated than
simple icon logic.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agopopupMenu: Define the dot next to the menu as an "ornament"
Jasper St. Pierre [Sat, 20 Apr 2013 00:57:38 +0000 (20:57 -0400)]
popupMenu: Define the dot next to the menu as an "ornament"

We want to remove switches in remote menus, so make way for
a checkmark ornament for the popup menu item.

https://bugzilla.gnome.org/show_bug.cgi?id=698427

13 years agomessageTray: Fix a regression from 1b13509
Jasper St. Pierre [Mon, 22 Apr 2013 22:42:34 +0000 (18:42 -0400)]
messageTray: Fix a regression from 1b13509

It seems this rename somehow got lost in a rebase.

13 years agoworkspace: Invalidate the current layout when windows are added or removed
Jasper St. Pierre [Mon, 22 Apr 2013 22:20:11 +0000 (18:20 -0400)]
workspace: Invalidate the current layout when windows are added or removed

If windows are removed or added, we shouldn't keep the old layout, as it's
not valid anymore. If windows are removed, this is especially bad, as the
rows contain references to the removed window objects, causing crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=698622

13 years agoworkspace: Recalculate window positions when we have no layout
Jasper St. Pierre [Mon, 22 Apr 2013 22:14:02 +0000 (18:14 -0400)]
workspace: Recalculate window positions when we have no layout

If for any reason the current layout is invalidated, queue a
reposition.

https://bugzilla.gnome.org/show_bug.cgi?id=698622

13 years agooverview: Fix XDnD
Jasper St. Pierre [Mon, 22 Apr 2013 21:56:34 +0000 (17:56 -0400)]
overview: Fix XDnD

I accidentally removed this import which some XDnD code depends upon.

13 years agoworkspace: only scale a layout row when it doesn't fit
Cosimo Cecchi [Mon, 22 Apr 2013 22:04:56 +0000 (18:04 -0400)]
workspace: only scale a layout row when it doesn't fit

Instead of applying an additional scale factor to all the rows in the
layout, only do it for those rows that don't fit.
This avoids the visual distraction of resizing a row when there's no
need to.

13 years agoworkspace: Lay out windows based on the real allocation
Jasper St. Pierre [Mon, 25 Feb 2013 23:34:17 +0000 (18:34 -0500)]
workspace: Lay out windows based on the real allocation

Instead of doing an entire recalculation of window positions when
sliding the thumbnails box, simply recalculate the position and scale
with basic aspect ratio math. This also ensures that windows won't
miraculously swap positions, even if we reposition windows while the
thumbnails box is expanded.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Split out window repositioning logic and rename
Jasper St. Pierre [Tue, 26 Feb 2013 03:43:36 +0000 (22:43 -0500)]
workspace: Split out window repositioning logic and rename

Split out the part that moves the window clones around from
the part that calculates the window clone positions, and rename
both methods so that the overall meaning is more clear.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Calculate the window slots when we reposition
Jasper St. Pierre [Tue, 26 Feb 2013 03:41:40 +0000 (22:41 -0500)]
workspace: Calculate the window slots when we reposition

Repositioning will eventually be separated from recalculation
to accomodate two different geometries, so we'll need to do
the padding and area manipulation in two different areas.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Separate out spacing/padding code
Jasper St. Pierre [Tue, 26 Feb 2013 03:38:30 +0000 (22:38 -0500)]
workspace: Separate out spacing/padding code

This will be used when we introduce the second geometry.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Make room for a second geometry to keep track of
Jasper St. Pierre [Mon, 25 Feb 2013 23:25:27 +0000 (18:25 -0500)]
workspace: Make room for a second geometry to keep track of

As we want to eventually track two geometries, we need to rename
our very plain "_x, _y, _width, _height". While we could just prefix
them, I think that stuffing them in an object makes more sense.

At the same time, make the variable and method name more descriptive
by adding such a prefix, as well as a bit of documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspacesView: Calculate the workspaces geometry ourselves
Jasper St. Pierre [Mon, 25 Feb 2013 23:11:59 +0000 (18:11 -0500)]
workspacesView: Calculate the workspaces geometry ourselves

To ensure that we don't recalculate window layouts when zooming
in or out, we need to always pass the full geometry. This will
break window repositioning when we zoom back in; for the purposes
of commit clarity, this breaks this feature for now. It will be
added back soon.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agooverviewControls: Add an accessor for the visible-width property
Jasper St. Pierre [Sat, 20 Apr 2013 16:29:58 +0000 (12:29 -0400)]
overviewControls: Add an accessor for the visible-width property

To add a geometry that's independent of the slide factor of the workspace,
we need to get this from outside the sliding control.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoAppDisplay/FrequentView: filter out hidden applications
Giovanni Campagna [Sun, 31 Mar 2013 18:05:49 +0000 (20:05 +0200)]
AppDisplay/FrequentView: filter out hidden applications

Filter out all applications which have the NoDisplay, Hidden or
Not/OnlyShowIn bits, as those are not meant to be launched directly.
This also allows the user to filter apps from the frequent view
using alacarte.

https://bugzilla.gnome.org/show_bug.cgi?id=696949

13 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 22 Apr 2013 15:52:13 +0000 (17:52 +0200)]
Updated Spanish translation

13 years agoAppMenuButton: Improve handling of signals
Tim Lunn [Sun, 21 Apr 2013 23:49:14 +0000 (09:49 +1000)]
AppMenuButton: Improve handling of signals

If for some reason an extension needs to destroy the AppMenu object,
currently it is not possible to do this cleanly due to these signals
remaining connected.

https://bugzilla.gnome.org/show_bug.cgi?id=698531

13 years agoworkspacesView: Make setGeometry take a rectangle
Jasper St. Pierre [Mon, 25 Feb 2013 22:05:51 +0000 (17:05 -0500)]
workspacesView: Make setGeometry take a rectangle

This cleanup will be more important in the future,
but for now, we can simply pass a monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspacesView: Minor cleanup
Jasper St. Pierre [Mon, 25 Feb 2013 22:06:07 +0000 (17:06 -0500)]
workspacesView: Minor cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspacesView: Fix indentation
Jasper St. Pierre [Mon, 25 Feb 2013 22:02:51 +0000 (17:02 -0500)]
workspacesView: Fix indentation

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Do window slot computing in three steps
Jasper St. Pierre [Tue, 26 Feb 2013 02:40:13 +0000 (21:40 -0500)]
workspace: Do window slot computing in three steps

This ensures that we have the correct Y value when sorting
windows.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Abort relayouting much earlier
Jasper St. Pierre [Tue, 26 Feb 2013 00:42:19 +0000 (19:42 -0500)]
workspace: Abort relayouting much earlier

This means that the code for computeAllWindowSlots is a bit
cleaner, which will help in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Only create one strategy
Jasper St. Pierre [Tue, 26 Feb 2013 00:31:03 +0000 (19:31 -0500)]
workspace: Only create one strategy

Now that we don't have any other strategies but the unaligned
one, we only need to construct it once.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Remove more dead code
Jasper St. Pierre [Tue, 26 Feb 2013 01:33:37 +0000 (20:33 -0500)]
workspace: Remove more dead code

By the time zoomToOverview is called, an animation will
always be in progress.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Make positionWindows private
Jasper St. Pierre [Tue, 26 Feb 2013 01:16:46 +0000 (20:16 -0500)]
workspace: Make positionWindows private

It's not used outside, and it's going to be broken up soon.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Don't save the current layout
Jasper St. Pierre [Mon, 25 Feb 2013 21:56:11 +0000 (16:56 -0500)]
workspace: Don't save the current layout

This was saved so that doing something which called relayout
but only changed the area rectangle would simply be needed to
recompute window scaling parameters. With the new overview
relayout, the flow control changed, it turns out that the
current layout is always cleared. Remove this for now, and we'll
put in a different strategy for this.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agoworkspace: Use Workspace.WindowPositionFlags.NONE in another case
Jasper St. Pierre [Tue, 26 Feb 2013 01:15:47 +0000 (20:15 -0500)]
workspace: Use Workspace.WindowPositionFlags.NONE in another case

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years agooverview: Move the group construction to the controls manager
Jasper St. Pierre [Mon, 25 Feb 2013 23:05:45 +0000 (18:05 -0500)]
overview: Move the group construction to the controls manager

Instead of creating a bunch of random actors and then passing
them off to the controls manager, let the controls manager
construct them. This leaves the controls manager in charge
of the ordeal.

https://bugzilla.gnome.org/show_bug.cgi?id=694469

13 years ago[l10n] Updated Turkish translation
Muhammet Kara [Fri, 19 Apr 2013 21:44:55 +0000 (00:44 +0300)]
[l10n] Updated Turkish translation

13 years agost-theme-node: Disable transitions if animations-enabled is off
Jasper St. Pierre [Fri, 19 Apr 2013 18:06:02 +0000 (14:06 -0400)]
st-theme-node: Disable transitions if animations-enabled is off

https://bugzilla.gnome.org/show_bug.cgi?id=698391

13 years agopanel: show spinner animation for busy applications
Cosimo Cecchi [Wed, 3 Apr 2013 18:18:43 +0000 (14:18 -0400)]
panel: show spinner animation for busy applications

When the active application signals its busy state, we now will show a
spinner on the panel, next to the application name.

https://bugzilla.gnome.org/show_bug.cgi?id=697207

13 years agoshell-app: track the busy state of GApplications
Cosimo Cecchi [Wed, 3 Apr 2013 18:16:58 +0000 (14:16 -0400)]
shell-app: track the busy state of GApplications

Watch for property changes on the org.gtk.Application interface, and
transition the state to BUSY when the corresponding property is flipped
on.

https://bugzilla.gnome.org/show_bug.cgi?id=697207

13 years agoshell-app: don't recreate a session proxy every time
Cosimo Cecchi [Wed, 3 Apr 2013 18:15:17 +0000 (14:15 -0400)]
shell-app: don't recreate a session proxy every time

Cache the connection inside the ShellAppRunningState structure instead.

https://bugzilla.gnome.org/show_bug.cgi?id=697207

13 years agoRevert "messageTray: Don't show the context-menu when the tray isn't open"
Jasper St. Pierre [Mon, 15 Apr 2013 16:50:56 +0000 (12:50 -0400)]
Revert "messageTray: Don't show the context-menu when the tray isn't open"

This reverts commit 1bce210c516215ceb78a8b37833ab8140476b959.

13 years agomessageTray: Move the notification actor out of the tray
Jasper St. Pierre [Wed, 13 Mar 2013 20:15:28 +0000 (16:15 -0400)]
messageTray: Move the notification actor out of the tray

Putting the notification actor in the tray actor has caused a lot
of various bugs and glitches over the years related to syncing the
two, fizzling out events, and so on. It's a much simpler model if
we consider the notification actor and tray to be separate widgets.

As a side effect, this makes the context menu not pop up when we
right-click on notifications.

https://bugzilla.gnome.org/show_bug.cgi?id=695800

13 years agomessageTray: Move hover tracking to the notification widget
Jasper St. Pierre [Wed, 13 Mar 2013 20:14:53 +0000 (16:14 -0400)]
messageTray: Move hover tracking to the notification widget

This does nothing while the tray is active, so it doesn't make sense
to track it on the tray. This also makes the code a lot easier to read,
with notification behavior being labeled "notification" rather than
"tray".

https://bugzilla.gnome.org/show_bug.cgi?id=695800

13 years agoDisable naked Super keybinding if sticky
Matthias Clasen [Wed, 17 Apr 2013 23:59:02 +0000 (19:59 -0400)]
Disable naked Super keybinding if sticky

With sticky keys, users should be able to press and release a
modifier and then press a key to activate a modifier-key combination.
Activating the overview on the Super key release keeps these
users from using keyboard shortcuts involving the Super modifier.

The solution implemented here is to simply disable the Super-release
binding if sticky keys are enabled. It is still possible to go
to the overview by using Super-S or Alt-F1.
https://bugzilla.gnome.org/show_bug.cgi?id=685974

13 years agoAdd a toggle-overview keybinding
Matthias Clasen [Wed, 17 Apr 2013 23:26:06 +0000 (19:26 -0400)]
Add a toggle-overview keybinding

This is a new, regular keybinding for going to the overview.
The default binding is Super-S, which goes well with Super-A
for going to the application grid.
This is separate from the existing panel-main-menu keybinding,
so that we can keep Alt-F1 opening the main menu in classic mode.

https://bugzilla.gnome.org/show_bug.cgi?id=698251

13 years agoUpdated Galician translations
Fran Diéguez [Thu, 18 Apr 2013 01:23:05 +0000 (03:23 +0200)]
Updated Galician translations

13 years agoBump version to 3.8.1
Florian Müllner [Tue, 16 Apr 2013 19:24:40 +0000 (21:24 +0200)]
Bump version to 3.8.1

Update NEWS.